$OpenBSD: patch-device_common_misc_cpp,v 1.1 2017/05/11 14:53:04 espie Exp $

Index: device/common/misc.cpp
--- device/common/misc.cpp.orig
+++ device/common/misc.cpp
@@ -198,7 +198,7 @@ const char *Device::cidrToNetmask(const char *cidr)
 unsigned int Device::ipAddressToNum(const char *address)
 {
 	// Variables...
-	char *addressPointer = 0;
+	const char *addressPointer = 0;
 	unsigned int returnAddress = 0;
 	int tempInt = 0; 
 
